<template>
    <Modal
            width="800"
            v-model="visible"
            :title="title"
            :styles="{top: '20px'}"
    >
        <div style="width: 80%;padding-left: 10%;padding-right: 10%">
            <Form :label-width="200" :disabled="disableSubmit">
                <Form-item label="区划:">
                    <Input v-model="model.yjag0001_name"/>
                </Form-item>
                <Form-item label="低保类别:">
                    <Input v-model="model.yjag0002_name"/>
                </Form-item>
                <Form-item label="原总金额:">
                    <Input v-model="model.yjag0003"/>
                </Form-item>
                <Form-item label="原总户数">
                    <Input v-model="model.yjag0004"/>
                </Form-item>
                <Form-item label="原总人数">
                    <Input v-model="model.yjag0005"/>
                </Form-item>
                <Form-item label="预测低保增加金额">
                    <Input v-model="model.yjag0008"/>
                </Form-item>
                <Form-item label="预测低保边缘升档低保户数">
                    <Input v-model="model.yjag0009"/>
                </Form-item>
                <Form-item label="预测低保边缘升档低保人数">
                    <Input v-model="model.yjag0010"/>
                </Form-item>
                <Form-item label="预测低保边缘升档低保增加金额">
                    <Input v-model="model.yjag0011"/>
                </Form-item>
                <Form-item label="预测增加总金额">
                    <Input v-model="model.yjag0006"/>
                </Form-item>
                <Form-item label="总金额">
                    <Input v-model="model.yjag0012"/>
                </Form-item>
                <Form-item label="总户数">
                    <Input v-model="model.yjag0013"/>
                </Form-item>
                <Form-item label="总人数">
                    <Input v-model="model.yjag0014"/>
                </Form-item>
                <Form-item label="预测调标金额">
                    <Input v-model="model.yjag0015"/>
                </Form-item>
                <Form-item label="原保障标准">
                    <Input v-model="model.yjag0016"/>
                </Form-item>
            </Form>
        </div>
        <div slot="footer">
            <Button @click="cancel">取消</Button>
        </div>
    </Modal>
</template>

<script>
    export default {
        data() {
            return {
                title: "",
                visible: false,
                disableSubmit: false,
                model: {}
            }
        },
        methods: {
            cancel() {
                this.visible = false;
            },
            edit(row) {
                this.visible = true
                this.model = Object.assign({}, row);
            },
        }
    }
</script>

<style scoped>

</style>